load("@io_bazel_rules_go//go:def.bzl", "go_test")
load("@io_bazel_rules_go//tests:bazel_tests.bzl", "bazel_test")

go_test(
    name = "go_default_test",
    size = "small",
    srcs = [
        "new_test.go",
        "old_test.go",
    ],
    tags = ["manual"],
)

bazel_test(
    name = "build_with_old_sdk",
    command = "test",
    config = "fetch",
    externals = [
        "@org_golang_x_tools//go/vcs:go_default_library",
    ],
    go_version = "1.10.1",
    tags = ["dev"],
    targets = [":go_default_test"],
)
